<?php

class WebLog {
  
  public function log($message) {
    echo "<span class='log_message'>".nl2br($message) . "</span><br/>";
    return $this;
  }
  
  public function error($message) {
    echo "<span class='log_error_message'>".nl2br($message) . "</span><br/>";
    return $this;
  }
    
}